Pluralsight HTTP Networking in iOS
We live in a connected world, and few iOS apps stand on their own without some kind of server process to connect to. The majority of those servers provide an HTTP interface. In this course, you will learn how to use Apple's Foundation APIs to connect to those services. You will also learn about several handy debugging tools and techniques, as well as practical design patterns to improve your iOS apps.
Introduction | 00:27:43 |
| Introduction | 06:30 |
| Modeling With REST | 03:38 |
| The iOS Application | 04:17 |
| Designing the Remote API | 07:54 |
| Installing the ChatCave Server | 04:03 |
| Wrap-Up and Review | 01:20 |
Networking With NSURLConnection | 00:49:04 |
| Introduction | 08:54 |
| Chatcave Service Basics | 04:21 |
| Accessing Chatrooms | 05:29 |
| Accessing Chatters | 02:03 |
| Sending and Receiving Messages | 02:02 |
| Authentication | 04:07 |
| HTTP Request Methods | 03:50 |
| Service Details Implementation | 02:58 |
| Request Class Implementation | 06:38 |
| API Usage in Action | 03:48 |
| Weak References and Retain-Cycles | 02:21 |
| Running the Application | 01:09 |
| Wrap-Up and Review | 01:18 |
Authentication & Caching | 00:41:35 |
| Introduction | 00:21 |
| Authentication in the Chatcave iOS App | 05:33 |
| Foundation Authentication Methods | 06:20 |
| Cookie Authentication | 02:43 |
| HTTP Basic Authentication | 07:40 |
| Custom Authentication | 04:10 |
| Storing Credentials in the Keychain | 09:18 |
| Caching Overview | 02:16 |
| Observing Caching Behavior | 02:34 |
| Wrap-Up and Review | 00:36 |
Networking With NSURLSession | 00:40:08 |
| Introduction | 04:37 |
| Basic Implementation | 10:40 |
| Refactoring | 07:33 |
| Basic Authentication | 07:15 |
| Cancellation Error Handling | 04:12 |
| Custom Authentication | 05:22 |
| Wrap-Up | 00:26 |
Background Tasks With NSURLSession | 00:54:10 |
| Introduction | 06:18 |
| Server Setup & App Overview | 02:19 |
| Video Uploads API | 04:36 |
| Background Video Upload | 04:14 |
| Upload Notifications | 06:08 |
| Upload Demo | 02:17 |
| Background Video Download | 01:35 |
| Download Notifications | 07:56 |
| Checking for Existing Downloads | 01:18 |
| Background Download Demo | 02:10 |
| Pausing & Resuming Downloads | 04:43 |
| Background Updates | 05:02 |
| Background Fetches | 04:54 |
| Wrap-Up | 00:34 |
Debugging Tools & Techniques | 00:30:32 |
| Introduction | 05:03 |
| Observing Traffic With tcpdump and tcpflow | 04:10 |
| Observing Traffic With Cocoa Packet Analyzer | 03:37 |
| Observing Traffic With rvictl | 03:01 |
| HTTP Proxy Config in OS X | 03:32 |
| HTTP Proxy Config in iOS | 01:21 |
| Introducing mitmproxy | 04:57 |
| Introducing Charles | 03:23 |
| Conclusion & Wrap-Up | 01:24 |
Conclusion | 00:08:29 |
| Design Patterns | 06:57 |
| Conclusion | 01:31 |

Introduction
Networking With NSURLConnection
Authentication & Caching
Networking With NSURLSession
Background Tasks With NSURLSession
Debugging Tools & Techniques
Conclusion